package com.example.diagnose.Service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.diagnose.Domain.Article;
import com.example.diagnose.Domain.FavoriteArticle;

import java.util.List;

public interface FavoriteArticleService extends IService<FavoriteArticle> {

    int addFavoriteArticle(FavoriteArticle favoriteArticle);
    int deleteFavoriteArticle(int favorite_id);
    List<Article> getFavoriteArticleByAccount(String account);

}
